<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class application\core\utils\Module | IBOS open source</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?49f43d3208c5d7e33fa16d36107a345bf11cc00d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">IBOS open source</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-application.core.utils.html" title="Summary of application\core\utils"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Class</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li class="active">
						<a href="namespace-application.html">
							application<span></span>
						</a>
							<ul>
					<li class="active">
						<a href="namespace-application.core.html">
							core<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.cache.html">
							cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.cache.driver.html">
							driver						</a>
							</li>
					<li>
						<a href="namespace-application.core.cache.provider.html">
							provider						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.core.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.core.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.core.engines.html">
							engines<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.engines.local.html">
							local						</a>
							</li>
					<li>
						<a href="namespace-application.core.engines.sae.html">
							sae						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.core.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.core.modules.html">
							modules						</a>
							</li>
					<li class="active">
						<a href="namespace-application.core.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.core.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.html">
							modules<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.article.html">
							article<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.article.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.article.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.article.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.article.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.calendar.html">
							calendar<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.calendar.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.calendar.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.calendar.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.contact.html">
							contact<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.contact.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.contact.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.contact.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.dashboard.html">
							dashboard<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.dashboard.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.dashboard.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.dashboard.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.department.html">
							department<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.department.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.department.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.department.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.diary.html">
							diary<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.diary.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.email.html">
							email<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.email.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.email.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.email.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.email.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.main.html">
							main<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.main.behaviors.html">
							behaviors						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.message.html">
							message<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.message.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.core.html">
							core<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.message.core.co.html">
							co						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.core.wx.html">
							wx<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.message.core.wx.callback.html">
							callback						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.core.wx.event.html">
							event						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-application.modules.message.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.mobile.html">
							mobile<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.mobile.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.mobile.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.mobile.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.position.html">
							position<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.position.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.position.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.position.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.recruit.html">
							recruit<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.recruit.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.role.html">
							role<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.role.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.role.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.user.html">
							user<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.user.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.user.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.user.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.user.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.vote.html">
							vote<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.vote.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.vote.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.vote.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.vote.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.weibo.html">
							weibo<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.weibo.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.weibo.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.weibo.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.weibo.utils.html">
							utils						</a>
							</li>
								</ul></li></ul></li></ul></li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-application.core.utils.Api.html">Api</a></li>
				<li><a href="class-application.core.utils.ApiCode.html">ApiCode</a></li>
				<li><a href="class-application.core.utils.Attach.html">Attach</a></li>
				<li><a href="class-application.core.utils.Cache.html">Cache</a></li>
				<li><a href="class-application.core.utils.Cloud.html">Cloud</a></li>
				<li><a href="class-application.core.utils.Convert.html">Convert</a></li>
				<li><a href="class-application.core.utils.Credit.html">Credit</a></li>
				<li><a href="class-application.core.utils.Database.html">Database</a></li>
				<li><a href="class-application.core.utils.DateTime.html">DateTime</a></li>
				<li><a href="class-application.core.utils.Env.html">Env</a></li>
				<li><a href="class-application.core.utils.File.html">File</a></li>
				<li><a href="class-application.core.utils.Ftp.html">Ftp</a></li>
				<li><a href="class-application.core.utils.IBOS.html">IBOS</a></li>
				<li><a href="class-application.core.utils.Image.html">Image</a></li>
				<li><a href="class-application.core.utils.Mail.html">Mail</a></li>
				<li class="active"><a href="class-application.core.utils.Module.html">Module</a></li>
				<li><a href="class-application.core.utils.Org.html">Org</a></li>
				<li><a href="class-application.core.utils.Page.html">Page</a></li>
				<li><a href="class-application.core.utils.PHPExcel.html">PHPExcel</a></li>
				<li><a href="class-application.core.utils.String.html">String</a></li>
				<li><a href="class-application.core.utils.System.html">System</a></li>
				<li><a href="class-application.core.utils.Upgrade.html">Upgrade</a></li>
				<li><a href="class-application.core.utils.Url.html">Url</a></li>
				<li><a href="class-application.core.utils.WebSite.html">WebSite</a></li>
				<li><a href="class-application.core.utils.Xml.html">Xml</a></li>
				<li><a href="class-application.core.utils.XMLParse.html">XMLParse</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Class Module</h1>











	<div class="alert alert-info">
		
		
		<b>Namespace:</b> <a href="namespace-application.html">application</a>\<a href="namespace-application.core.html">core</a>\<a href="namespace-application.core.utils.html">utils</a><br>
		

				<b>Copyright:</b>
				Copyright &copy; 2012-2013 IBOS Inc<br>
				<b>Author:</b>
				banyanCheung <a href="m&#97;&#105;&#108;&#116;&#111;&#58;&#x62;&#x61;&#x6e;&#x79;&#x61;&#x6e;&#x40;i&#98;&#111;&#115;&#46;&#99;&#111;&#109;&#x2e;&#x63;&#x6e;">&#x62;&#x61;&#x6e;&#x79;&#x61;&#x6e;&#x40;i&#98;&#111;&#115;&#46;&#99;&#111;&#109;&#x2e;&#x63;&#x6e;</a><br>
			<b>Located at</b> system/core/utils/Module.php		<br>
	</div>



		<div class="panel panel-default">
			<div class="panel-heading"><h2>Methods summary</h2></div>
			<table class="summary table table-bordered table-striped methods" id="methods">
		<tr data-order="getIsEnabled" id="_getIsEnabled">

			<td class="attributes"><code>
				 public static
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getIsEnabled">#</a>
			<code>getIsEnabled( <span>string <var>$moduleName</var></span> )</code>

			<div class="description short">
				<p>检查某个模块是否可用</p>
			</div>

			<div class="description detailed hidden">
				<p>检查某个模块是否可用</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$moduleName</var></dt>
						<dd>模块名</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean<br>是否可用
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getCoreModule" id="_getCoreModule">

			<td class="attributes"><code>
				 public static
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getCoreModule">#</a>
			<code>getCoreModule( )</code>

			<div class="description short">
				<p>获得核心模块数组</p>
			</div>

			<div class="description detailed hidden">
				<p>获得核心模块数组</p>



					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getDependModule" id="_getDependModule">

			<td class="attributes"><code>
				 public static
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getDependModule">#</a>
			<code>getDependModule( )</code>

			<div class="description short">
				<p>获得核心依赖模块数组</p>
			</div>

			<div class="description detailed hidden">
				<p>获得核心依赖模块数组</p>



					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="install" id="_install">

			<td class="attributes"><code>
				 public static
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_install">#</a>
			<code>install( <span>string <var>$moduleName</var></span> )</code>

			<div class="description short">
				<p>执行模块安装</p>
			</div>

			<div class="description detailed hidden">
				<p>执行模块安装</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$moduleName</var></dt>
						<dd>模块名</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean<br>安装成功与否
					</div>

					<h4>Throws</h4>
					<div class="list">
						CException<br>检查安装文件夹时的异常
					</div>



			</div>
			</div></td>
		</tr>
		<tr data-order="uninstall" id="_uninstall">

			<td class="attributes"><code>
				 public static
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_uninstall">#</a>
			<code>uninstall( <span>string <var>$moduleName</var></span> )</code>

			<div class="description short">
				<p>执行模块卸载</p>
			</div>

			<div class="description detailed hidden">
				<p>执行模块卸载</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$moduleName</var></dt>
						<dd>模块名</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getModuleDirs" id="_getModuleDirs">

			<td class="attributes"><code>
				 public static
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getModuleDirs">#</a>
			<code>getModuleDirs( )</code>

			<div class="description short">
				<p>获取所有模块目录</p>
			</div>

			<div class="description detailed hidden">
				<p>获取所有模块目录</p>



					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getModulePath" id="_getModulePath">

			<td class="attributes"><code>
				 public static
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getModulePath">#</a>
			<code>getModulePath( )</code>

			<div class="description short">
				<p>获取模块文件夹真实路径</p>
			</div>

			<div class="description detailed hidden">
				<p>获取模块文件夹真实路径</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getInstallPath" id="_getInstallPath">

			<td class="attributes"><code>
				 public static
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getInstallPath">#</a>
			<code>getInstallPath( <span>string <var>$module</var></span> )</code>

			<div class="description short">
				<p>获取模块安装文件夹路径</p>
			</div>

			<div class="description detailed hidden">
				<p>获取模块安装文件夹路径</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$module</var></dt>
						<dd>模块名</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getUninstallPath" id="_getUninstallPath">

			<td class="attributes"><code>
				 public static
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getUninstallPath">#</a>
			<code>getUninstallPath( <span>string <var>$module</var></span> )</code>

			<div class="description short">
				<p>获取模块安装文件夹路径</p>
			</div>

			<div class="description detailed hidden">
				<p>获取模块安装文件夹路径</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$module</var></dt>
						<dd>模块名</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="filterInstalledModule" id="_filterInstalledModule">

			<td class="attributes"><code>
				 public static
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_filterInstalledModule">#</a>
			<code>filterInstalledModule( <span>array <var>$installedModule</var></span>, <span>array <var>$moduleDirs</var></span> )</code>

			<div class="description short">
				<p>过滤掉已安装模块,返回未安装模块名</p>
			</div>

			<div class="description detailed hidden">
				<p>过滤掉已安装模块,返回未安装模块名</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$installedModule</var></dt>
						<dd>已安装模块</dd>
						<dt><var>$moduleDirs</var></dt>
						<dd>所有模块的文件夹数组</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="initModuleParameter" id="_initModuleParameter">

			<td class="attributes"><code>
				 public static
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_initModuleParameter">#</a>
			<code>initModuleParameter( <span>string <var>$moduleName</var></span> )</code>

			<div class="description short">
				<p>初始化模块配置文件 - 参数部分</p>
			</div>

			<div class="description detailed hidden">
				<p>初始化模块配置文件 - 参数部分</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$moduleName</var></dt>
						<dd>模块名称</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="initModuleParameters" id="_initModuleParameters">

			<td class="attributes"><code>
				 public static
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_initModuleParameters">#</a>
			<code>initModuleParameters( <span>array <var>$moduleDirs</var></span> )</code>

			<div class="description short">
				<p>初始化多个模块配置文件 - 参数部分,用于列表</p>
			</div>

			<div class="description detailed hidden">
				<p>初始化多个模块配置文件 - 参数部分,用于列表</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$moduleDirs</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateConfig" id="_updateConfig">

			<td class="attributes"><code>
				 public static
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateConfig">#</a>
			<code>updateConfig( <span>mixed <var>$module</var> = <span class="php-quote">''</span></span>, <span>boolean <var>$updateAuth</var> = <span class="php-keyword1">true</span> </span> )</code>

			<div class="description short">
				<p>更新模块配置文件</p>
			</div>

			<div class="description detailed hidden">
				<p>更新模块配置文件</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$module</var></dt>
						<dd>要更新的模块名，为空更新全部，可单个模块字符串也可数组格式</dd>
						<dt><var>$updateAuth</var></dt>
						<dd>是否更新授权信息</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateAuthorization" id="_updateAuthorization">

			<td class="attributes"><code>
				 public static
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateAuthorization">#</a>
			<code>updateAuthorization( <span>array <var>$authItem</var></span>, <span>string <var>$moduleName</var></span>, <span> <var>$category</var></span> )</code>

			<div class="description short">
				<p>更新授权认证项目</p>
			</div>

			<div class="description detailed hidden">
				<p>更新授权认证项目</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$authItem</var></dt>
						<dd>配置文件中的授权节点数组</dd>
						<dt><var>$moduleName</var></dt>
						<dd>对应的模块名字</dd>
						<dt><var>$category</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="executeSql" id="_executeSql">

			<td class="attributes"><code>
				 public static
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_executeSql">#</a>
			<code>executeSql( <span>string <var>$sql</var></span> )</code>

			<div class="description short">
				<p>执行mysql.sql文件，创建数据表等</p>
			</div>

			<div class="description detailed hidden">
				<p>执行mysql.sql文件，创建数据表等</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$sql</var></dt>
						<dd>sql语句</dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
			</table>
		</div>








		<div class="panel panel-default">
            <div class="panel-heading"><h2>Constants summary</h2></div>
			<table class="summary table table-bordered table-striped constants" id="constants">
			<tr data-order="MODULE_ALIAS" id="MODULE_ALIAS">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
<b>MODULE_ALIAS</b>					</code>

					<div class="description short">
						<p>模块文件夹别名</p>
					</div>

					<div class="description detailed hidden">
						<p>模块文件夹别名</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#MODULE_ALIAS" class="anchor">#</a>
						<code><span class="php-quote">'modules'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="INSTALL_PATH_ALIAS" id="INSTALL_PATH_ALIAS">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
<b>INSTALL_PATH_ALIAS</b>					</code>

					<div class="description short">
						<p>模块安装文件夹别名</p>
					</div>

					<div class="description detailed hidden">
						<p>模块安装文件夹别名</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#INSTALL_PATH_ALIAS" class="anchor">#</a>
						<code><span class="php-quote">'install'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="UNINSTALL_PATH_ALIAS" id="UNINSTALL_PATH_ALIAS">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
<b>UNINSTALL_PATH_ALIAS</b>					</code>

					<div class="description short">
						<p>模块卸载文件夹别名</p>
					</div>

					<div class="description detailed hidden">
						<p>模块卸载文件夹别名</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#UNINSTALL_PATH_ALIAS" class="anchor">#</a>
						<code><span class="php-quote">'uninstall'</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="DS" id="DS">

				<td class="attributes"><code>string</code></td>
				<td class="name">
					<code>
<b>DS</b>					</code>

					<div class="description short">
						<p>路径分隔常量</p>
					</div>

					<div class="description detailed hidden">
						<p>路径分隔常量</p>

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#DS" class="anchor">#</a>
						<code>DIRECTORY_SEPARATOR</code>
					</div>
				</td>
			</tr>
			</table>
		</div>




</div>
	</div>

	<div id="footer">
		IBOS open source API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
